<?php
namespace BoxSns\Widget;
class IndexWidget extends \WidgetController
{

    /*******轮播图片****/
    function swiper($swiper_id)
    {
        $this->swiper_id = $swiper_id;
        $this->swiperData = BoxModel("addon_blocks_image")->get("status=1 and blocks_name='$swiper_id'");
        $this->display();
    }


}